<?php

/**
 * Created by PhpStorm.
 * User: Yieong
 * Date: 2017/7/5
 * Time: 下午2:39
 */
class GuildService extends Service
{

    public static function indexHeader($params){
        return array(
            'RecDate'           => array('text' => '日期'),
            'SID'               => array('text' => '服'),
            'CreateNumbers'     => array('text' => '家族创建数量', 'rule' => 'numeric'),
            'MergeNumbers'      => array('text' => '家族合并数量', 'rule' => 'numeric'),
            'DeleteNumbers'     => array('text' => '家族删除数量', 'rule' => 'numeric'),
            'ActiveNumbers'     => array('text' => '活跃家族数量', 'rule' => 'numeric'),
            'CalCreateNumbers'  => array('text' => '累计家族创建数量', 'rule' => 'numeric'),
            'CalMergeNumbers'   => array('text' => '累计家族合并数量', 'rule' => 'numeric'),
            'CalDeleteNumbers'  => array('text' => '累计家族删除数量', 'rule' => 'numeric'),
            'GuildNumbers'      => array('text' => '当前家族总数', 'rule' => 'numeric'),
            'ActiveUser'        => array('text' => '活跃用户数', 'rule' => 'numeric'),
        );
    }

    public static function indexData($params){
        $result = ModGuild::indexData($params);
        return $result;
    }

}